onload = function() {
	document.forms[0].elements[1].onchange = function(){
		document.forms[0].elements[0].value = document.forms[0].elements[1].value;
	}
}